import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import "@/request";

import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";

import i18n from "@/i18n/index";

import MUI from "@/MUI";
import "@/MUI/style/index.scss";

import MCharts from "@/MCharts";

import utils from "@/utils";

Vue.config.productionTip = false;

Vue.use(ElementUI);
Vue.use(MUI);

Vue.use(MCharts);

Vue.use(utils);

// if (process.env.VUE_APP_ENV === "production") {
//   (() => {
//     setInterval(function () {
//       Function('debugger').apply();
//     }, 100);
//   })();
// }

new Vue({
  i18n,
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
